package DBLayer;


import java.util.List;

import modelLayer.Customer;

public interface IFDBCustomer {
	
	
	
	//return a List of Costumers
	public List<Customer> getAllCustomer(boolean retriveAssociation);
	
	//return a Costumer by costumerID
	public Customer findCustomer(String customerID, boolean retriveAssociation);
	
	//return a Costumer by name
	public Customer searchFname(String cfname, boolean retriveAssociation);
	public Customer searchLname(String clname, boolean retriveAssociation);
	
	//Insert new Costumer
	public int insertCustomer(Customer co, boolean retriveAssociation) throws Exception;
	
	//update a Costumer
	public int updateCustomer(Customer co, boolean retriveAssociation);
	
	
	//delete a costumer
	public int deleteCustomer(String customerID, boolean retriveAssociation);
	
	
	
	

}
